import React from 'react';
import PropTypes from 'prop-types';
import { Button } from 'antd';
import './index.scss';

/*
*  头部按钮
* */
const TitleButton = (props) => {
  const { title } = props;
  return (
    <Button className="title-btn">
      {
        title
      }
    </Button>
  );
};

TitleButton.propTypes = {
  title: PropTypes.string.isRequired
};


export default TitleButton;
